package com.yh.create.singleton_pattern;/*
 * Copyright 2018 Zhongan.com All right reserved. This software is the
 * confidential and proprietary information of Zhongan.com ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Zhongan.com.
 */


/**
 * TODO 类实现描述
 *
 * @author yanghui
 * @since 2018年7月12日 上午2:26:48
 */
public class Master {
    public static void main(String[] args) {
        KingLan instance = KingLan.getInstance();
        System.out.println(instance);
        System.out.println(KingLan.getInstance());
        System.out.println(KingLan.getInstance());
        System.out.println(KingLan.getInstance());
        System.out.println(KingLan.getInstance());
        System.out.println(KingLan.getInstance());
        System.out.println(KingE.getInstance());
        System.out.println(KingE.getInstance());
        System.out.println(KingE.getInstance());
        System.out.println(KingE.getInstance());
        System.out.println(KingE.getInstance());
        System.out.println(KingE.getInstance());
        System.out.println(KingE.getInstance());
    }
}
